package com.caiyouxi.goods.model;

import com.caiyouxi.common.bean.QueryParams;

import java.io.Serializable;
import java.util.Date;

/**
 * chensong
 * 商品折扣设置
 */
public class GoodsDiscount extends QueryParams implements Serializable {
    
    private Integer id; //编号
    
    private String target_type;//折扣对象类型
    
    private String target_id;//折扣对象编号

    private Integer discount;//优惠额度
    
    private Date start_time;//折扣开始时间
    
    private Date end_time;//折扣结束时间

    private String purchase_limited;//折扣商品的购买限制
    
    private Double discount_end;//算后的折扣
    
    private String start_format_time;//折扣开始时间
    private String end_format_time;//折扣结束时间

    public String getEnd_format_time() {
        return end_format_time;
    }

    public void setEnd_format_time(String end_format_time) {
        this.end_format_time = end_format_time;
    }

    public String getStart_format_time() {
        return start_format_time;
    }

    public void setStart_format_time(String start_format_time) {
        this.start_format_time = start_format_time;
    }

    public Double getDiscount_end() {
        return discount_end;
    }

    public void setDiscount_end(Double discount_end) {
        this.discount_end = discount_end;
    }

    private boolean is_deleted;//是否被删除。0-否；1-是。

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTarget_type() {
        return target_type;
    }

    public void setTarget_type(String target_type) {
        this.target_type = target_type;
    }

    public String getTarget_id() {
        return target_id;
    }

    public void setTarget_id(String target_id) {
        this.target_id = target_id;
    }

    public Integer getDiscount() {
        return discount;
    }

    public void setDiscount(Integer discount) {
        this.discount = discount;
    }

    public Date getStart_time() {
        return start_time;
    }

    public void setStart_time(Date start_time) {
        this.start_time = start_time;
    }

    public Date getEnd_time() {
        return end_time;
    }

    public void setEnd_time(Date end_time) {
        this.end_time = end_time;
    }

    public String getPurchase_limited() {
        return purchase_limited;
    }

    public void setPurchase_limited(String purchase_limited) {
        this.purchase_limited = purchase_limited;
    }

    public boolean is_deleted() {
        return is_deleted;
    }

    public void setIs_deleted(boolean is_deleted) {
        this.is_deleted = is_deleted;
    }
}
